ImageElementInitPdfImage(Single, Single, Single, Single, String) Method
Initializes an image element from a file keeping the aspect ratio. This method must be called on empty image elements
Namespace: Winnovative.ExcelToPdfAssembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
public void InitPdfImage(
float x,
float y,
float width,
float height,
string imageFile
)
Public Sub InitPdfImage (
x As Single,
y As Single,
width As Single,
height As Single,
imageFile As String
)
public:
void InitPdfImage(
float x,
float y,
float width,
float height,
String^ imageFile
)
member InitPdfImage :
x : float32 *
y : float32 *
width : float32 *
height : float32 *
imageFile : string -> unit
Parameters
- x Single
- The image element X coordinate in points
- y Single
- The image element Y coordinate in points
- width Single
- The image element width in points
- height Single
- The image element height in points
- imageFile String
- The full path of the image file