PixMap static constructor




static PixMap FromXImage(ObjectSoup soup, XImage image)

[Visual Basic]
Shared Function FromXImage(soup As ObjectSoup, image As XImage) As PixMap



Name Description
soup The ObjectSoup to contain the newly created PixMap.
image The XImage from which the PixMap should be created.




This method allows you to create a PixMap directly from an XImage object.

The PixMap that is created exists within the current Doc.Soup but is not linked into any pages.

To link the PixMap into a page it needs to be added as a resource and then drawn from the content stream of the page.