PagesOptions.DrawBackground Method
Draws the background for the specified page.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public void DrawBackground(
int pageNum,
IGraphics g,
RectangleF printingRect,
RectangleF fullRect,
bool export
)
Public Sub DrawBackground (
pageNum As Integer,
g As IGraphics,
printingRect As RectangleF,
fullRect As RectangleF,
export As Boolean
)
public:
void DrawBackground(
int pageNum,
IGraphics^ g,
RectangleF printingRect,
RectangleF fullRect,
bool export
)
member DrawBackground :
pageNum : int *
g : IGraphics *
printingRect : RectangleF *
fullRect : RectangleF *
export : bool -> unit
Parameters
- pageNum Int32
-
Number of page to draw the background for. Negative value identifies the default page settings in General.
- g IGraphics
- Graphics to draw the background in.
- printingRect RectangleF
- Rectangle to use when FullPage is false.
- fullRect RectangleF
- Rectangle to use when FullPage is true.
- export Boolean
- Requests drawing of the original image if set to true, optimized image otherwise.