ImageGear PDF v25.2 - Updated
AddImage(ImGearPage,Double,ImGearDoubleRectangle) Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFPage Class > AddImage Method : AddImage(ImGearPage,Double,ImGearDoubleRectangle) Method
This parameter specifies the image that will be added to the calling ImGearPDFPage object.
The image opacity on the page. Valid values are in the range 0.0 to 1.0, where 1.0 indicates opaque and 0.0 indicates transparent.
An area on the page to fit the image, expressed in inches. When either width or height equals 0.0, the entire page area is used.
Add an image to the page using the provided parameters.
Syntax
'Declaration
 
Public Overloads Sub AddImage( _
   ByVal image As ImGearPage, _
   ByVal opacity As Double, _
   ByVal areaOnPage As ImGearDoubleRectangle _
) 
'Usage
 
Dim instance As ImGearPDFPage
Dim image As ImGearPage
Dim opacity As Double
Dim areaOnPage As ImGearDoubleRectangle
 
instance.AddImage(image, opacity, areaOnPage)
public void AddImage( 
   ImGearPage image,
   double opacity,
   ImGearDoubleRectangle areaOnPage
)
public: void AddImage( 
   ImGearPage* image,
   double opacity,
   ImGearDoubleRectangle areaOnPage
) 
public:
void AddImage( 
   ImGearPage^ image,
   double opacity,
   ImGearDoubleRectangle areaOnPage
) 

Parameters

image
This parameter specifies the image that will be added to the calling ImGearPDFPage object.
opacity
The image opacity on the page. Valid values are in the range 0.0 to 1.0, where 1.0 indicates opaque and 0.0 indicates transparent.
areaOnPage
An area on the page to fit the image, expressed in inches. When either width or height equals 0.0, the entire page area is used.
Remarks
The image is added with the specified opacity and placed at the specified location on the page.
See Also

Reference

ImGearPDFPage Class
ImGearPDFPage Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.