PDF for WinRT
FillRectangle(Color,Double,Double,Double,Double) Method


Windows.UI.Color object that determines the color used to fill the rectangle.
x-coordinate of the upper-left corner of the rectangle to fill.
x-coordinate of the upper-left corner of the rectangle to fill.
Width of the rectangle to fill.
Height of the rectangle to fill.
Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.
Syntax
'Declaration
 
Public Overloads Sub FillRectangle( _
   ByVal color As Color, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal width As Double, _
   ByVal height As Double _
) 
'Usage
 
Dim instance As C1PdfDocument
Dim color As Color
Dim x As Double
Dim y As Double
Dim width As Double
Dim height As Double
 
instance.FillRectangle(color, x, y, width, height)
public void FillRectangle( 
   Color color,
   double x,
   double y,
   double width,
   double height
)

Parameters

color
Windows.UI.Color object that determines the color used to fill the rectangle.
x
x-coordinate of the upper-left corner of the rectangle to fill.
y
x-coordinate of the upper-left corner of the rectangle to fill.
width
Width of the rectangle to fill.
height
Height of the rectangle to fill.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback