



Collapse All
Syntax| HRESULT MakeImageNegative ( LONG imageIndex ) |
RemarksImage index can be retrieved from any image loading method, like AddImageFromFile.
Equivalent in new interface: IPDFDocument4::TransformImage.
Example{ PDF object is supposed to be created }
PDF.BeginDoc;
j := PDF.AddImageFromFile('picture.jpg');
PDF.MakeImageNegative(j);
PDF.PDFPAGE_ShowImage(j, 200, 0, 122, 89, 0);
PDF.EndDoc;
// PDF object is supposed to be created
PDF->BeginDoc();
LONG j = PDF->AddImageFromFile("picture.jpg");
PDF->MakeImageNegative(j);
PDF->PDFPAGE_ShowImage(j, 200, 0, 122, 89, 0);
PDF->EndDoc();
// PDF object is supposed to be created
PDF.BeginDoc();
long j = PDF.AddImageFromFile("picture.jpg");
PDF.MakeImageNegative(j);
PDF.PDFPAGE_ShowImage(j, 200, 0, 122, 89, 0);
PDF.EndDoc();
' PDF object is supposed to be created
PDF.BeginDoc
j = PDF.AddImageFromFile("picture.jpg")
PDF.MakeImageNegative j
PDF.PDFPAGE_ShowImage j, 200, 0, 122, 89, 0
PDF.EndDoc
See Also