PdfDocument Object : AddImageFromHandle Method |
Visual Basic |
---|
Public Sub AddImageFromHandle( _ ByVal PageNumber As Long, _ ByVal DestinationX As Double, _ ByVal DestinationY As Double, _ ByVal DestinationWidth As Double, _ ByVal DestinationHeight As Double, _ ByVal DestinationFit As pdfImageFitSettings, _ ByVal SourceImageHandle As Long, _ ByVal SourceImagePageNumber As Long _ ) |
Value | Description |
---|---|
PDF_ImageFitGravityBottom | Align the bottom edge of the image with the bottom edge of the destination rectangle. |
PDF_ImageFitGravityLeft | Align the top edge of the image with the top edge of the destination rectangle. |
PDF_ImageFitGravityRight | Align the right edge of the image with the right edge of the destination rectangle. |
PDF_ImageFitGravityTop | Align the left edge of the image with the left edge of the destination rectangle. |
PDF_ImageFitGrow | Grow the image, if necessary, to fit within the destination rectangle. |
PDF_ImageFitNone | No fit setting. |
PDF_ImageFitShrink | Shrink the image, if necessary, to fit within the destination rectangle. |
PDF_ImageFitStretch | Stretch the image to completely fill the destination rectangle without retaining the aspect ratio of the source image. |