|
|
AddBankImage
Adds an Image to the ImageBank. The ImageBank can be used for repeated Images. An Image added to the Document can reference the Image in the Bank rather than a holding a repeated copy of it, lowering resource use.
Syntax Object.AddBankImage (sKey As String, PictureFromObject As StdPicture, LoadFileName As String)
| Parameters | | sKey | The Key to identify the Item. | | PictureFromObject | Add a picture from a object e.g. PictureBox, Form or Image. | | LoadFileName | The filename of an Image to load. |
Example ' Add an image to the ImageBank
qPrint.Document.AddBankImage "Image1", Picture1.Picture
' Add an image to the document from the ImageBank
qPrint.Document.AddImage False, , , "Image1"
See Also: AddImage
|