LONG AddImageWithMask ( BSTR fileName, BSTR maskFileName ) |
The 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.
{ 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