Profile Picture

Can I make a diagram embed the images used in fill style?

Posted By Jason Irby 12 Years Ago

Can I make a diagram embed the images used in fill style?

Author
Message
Jason Irby
Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 59, Visits: 77

 

Say I create a digram with a rectangle and set the fill style to image, select an image and save.

I want the fill image to actually be embedded in the digram file.  It appears to only be referenced by path. 

I can see this clearly when saving in xml format.  I expected it would at least embed when saved in binary format but I guess it is still only by reference.  If I save as binary and delete the original image, the fill rectagle come up blank when reopening. 

I'd like the diagram I make to be fully self contained in its own file.

Can I set a property somewhere?

Thank in advance,

Jason Irby

 



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

You should create the image fill style using its bitmap constructor rather than the file name constructor (i.e. you shoul supply a bitmap object instead of file name to the image fill style constructor). In this way the image will be embedded in your document upon serialization.



Best Regards,
Nevron Support Team



Jason Irby
Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 59, Visits: 77

Ah.  I was just trying it thru the sample diagramming tool.  My bad.

 

Thanks,

Jason Irby

 





Similar Topics


Reading This Topic