Inesoft PrintCE SDK .NET
PrintCE::GetPictureSize Method

Returns size of the picture in the JPG or BMP file

C# Syntax: bool ret = object.GetPictureSize(string path, out double width, out double height);
VB Syntax: Dim ret As Boolean = object.GetPictureSize(ByVal path As String, ByRef width As Double, ByRef height As Double);

Parameters

path

is the path and name of the picture file

width

points variable getting value of the picture's width

height

points variable getting value of the picture's height

Return Value

ret

true if the picture is drawn, false if the picture is not found

Review

Coordinates are returned in the current measurement units (please refer to MeasureUnit property)



© 2009 Inesoft. All rights reserved.