CadOptionsForRenderingByWidthAndHeight Method |
Initializes new instance of
CadOptions class for rendering by width and height.
Namespace: GroupDocs.Viewer.OptionsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.3
Syntaxpublic static CadOptions ForRenderingByWidthAndHeight(
int width,
int height
)
Public Shared Function ForRenderingByWidthAndHeight (
width As Integer,
height As Integer
) As CadOptions
public:
static CadOptions^ ForRenderingByWidthAndHeight(
int width,
int height
)
static member ForRenderingByWidthAndHeight :
width : int *
height : int -> CadOptions
Parameters
- width
- Type: SystemInt32
The width of the output result in pixels. - height
- Type: SystemInt32
The height of the output result in pixels.
Return Value
Type:
CadOptionsNew instance of
CadOptions class for rendering by width and height.
Exceptions
See Also