



Collapse All
Syntax| LONG AddImageWithMask ( BSTR fileName, BSTR maskFileName ) |
RemarksThe return value is an image identifier in document's images collection and can be used in FlipImage, GetImageHeight, GetImageResolution, GetImageWidth, MakeImageGrayScale, MakeImageNegative, PlaceImageToCurrentPage, PDFPAGE_ShowImage.
Equivalent in new interface: IPDFDocument4::AddImageWithMask.
Example{ PDF object is supposed to be created }
PDF.BeginDoc;
j := PDF.AddImageWithMask('picture.tiff', 'mask.tiff');
PDF.PDFPAGE_ShowImage(j, 0, 0, 122, 89, 0);
PDF.EndDoc;
// PDF object is supposed to be created
PDF->BeginDoc();
LONG j = PDF->AddImageWithMask("picture.tiff", "mask.tiff");
PDF->PDFPAGE_ShowImage(j, 0, 0, 122, 89, 0);
PDF->EndDoc();
// PDF object is supposed to be created
PDF.BeginDoc();
long j = PDF.AddImageWithMask("picture.tiff", "mask.tiff");
PDF.PDFPAGE_ShowImage(j, 0, 0, 122, 89, 0);
PDF.EndDoc();
' PDF object is supposed to be created
PDF.BeginDoc
j = PDF.AddImageWithMask("picture.tiff", "mask.tiff")
PDF.PDFPAGE_ShowImage j, 0, 0, 122, 89, 0
PDF.EndDoc
See Also