GenericSPSetRenderSize Method |
Records the image size into which we are rendering. This may change during a session.
It obviates the need to keep passing the size with every method.
Namespace:
Cadcorp.GFB.CadcorpSP
Assembly:
Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic void SetRenderSize(
int width,
int height
)
Public Sub SetRenderSize (
width As Integer,
height As Integer
)
Parameters
- width
- Type: SystemInt32
The render width, in pixels - height
- Type: SystemInt32
The render height, in pixels
RemarksThe values are stored in the SIS_OT_WINDOW, as RenderWidth& and
RenderHeight&. User stored procedures are free to use these values, but it is
safer to use the properties RenderWidth and RenderHeight defined on this class.
See Also