A Sandcastle Documented Class Library
![]() | DocxImagingGetPictureSize Method |
Gets the size of the picture.
Namespace: QsGemBox.Docx
Assembly: QsGemBox (in QsGemBox.dll) Version: 22.4.2.0 (22.4.2.0)

public static bool GetPictureSize( string imagepath, out int width, out int height )
Public Shared Function GetPictureSize ( imagepath As String, <OutAttribute> ByRef width As Integer, <OutAttribute> ByRef height As Integer ) As Boolean
public: static bool GetPictureSize( String^ imagepath, [OutAttribute] int% width, [OutAttribute] int% height )
static member GetPictureSize : imagepath : string * width : int byref * height : int byref -> bool
Parameters
- imagepath
- Type: SystemString
The imagepath. - width
- Type: SystemInt32
The width. - height
- Type: SystemInt32
The height.
Return Value
Type: Booleantrue if XXXX, false otherwise.
