| SignDocDocumentimportPageFromImageBlob Method |
Import a page from a blob containing an image.
This function is currently implemented for PDF documents only.
Namespace: de.softpro.signdocsdkAssembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntaxpublic void importPageFromImageBlob(
int targetPage,
byte[] data,
double zoom,
double width,
double height,
ImportImageFlag flags
)
Public Sub importPageFromImageBlob (
targetPage As Integer,
data As Byte(),
zoom As Double,
width As Double,
height As Double,
flags As ImportImageFlag
)
public:
void importPageFromImageBlob(
int targetPage,
array<unsigned char>^ data,
double zoom,
double width,
double height,
ImportImageFlag flags
)
member importPageFromImageBlob :
targetPage : int *
data : byte[] *
zoom : float *
width : float *
height : float *
flags : ImportImageFlag -> unit
Parameters
- targetPage
- Type: SystemInt32
The 1-based number of the page before which
to insert the new page. The page will
be appended if this value is 0. - data
- Type: SystemByte
The blob containing the image.
Supported formats for inserting into PDF
documents are: JPEG, PNG, GIF, TIFF, and BMP. - zoom
- Type: SystemDouble
Zoom factor or zero. If this argument is
non-zero, @a aWidth and @a aHeight must be
zero. The size of the page is computed from
the image size and resolution, multiplied by
@a aZoom. - width
- Type: SystemDouble
Page width (document coordinates) or zero.
If this argument is non-zero, @a aHeight must
also be non-zero and @a aZoom must be zero.
The image will be scaled to this width. - height
- Type: SystemDouble
Page height (document coordinates) or zero.
If this argument is non-zero, @a aWidth must
also be non-zero and @a aZoom must be zero.
The image will be scaled to this height. - flags
- Type: de.softpro.signdocsdk.Enums.EDocumentImportImageFlag
Flags modifying the behavior of this function,
See #ii_keep_aspect_ratio. ii_keep_aspect_ratio
is not needed if @a aZoom is non-zero.
See Also