ESRI.ArcGIS.ADF.Web.UI.WebControls
CopyrightText Constructor(String,Font,Color,Alignment,Boolean,Orientation,Color,TextAnchorPosition,Boolean,Boolean)
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CopyrightText Class > CopyrightText Constructor : CopyrightText Constructor(String,Font,Color,Alignment,Boolean,Orientation,Color,TextAnchorPosition,Boolean,Boolean)




text
The text to display for the copyright notice.
font
The font for the text.
foreColor
The color of the text
align
The alignment of the text.
rightToLeft
Read order of the text.
direction
Text direction to draw text
fillColor
Fill color of text area.
anchorPosition
The starting anchor point position of the text relative to the Image
shadow
Gets or sets a shadow effect on the text
halo
Gets or sets a Halo effect on the text
Creates an instance of the CopyrightText class using the specified parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal foreColor As Color, _
   ByVal align As Alignment, _
   ByVal rightToLeft As Boolean, _
   ByVal direction As Orientation, _
   ByVal fillColor As Color, _
   ByVal anchorPosition As TextAnchorPosition, _
   ByVal shadow As Boolean, _
   ByVal halo As Boolean _
)
Visual Basic (Usage)Copy Code
Dim text As String
Dim font As Font
Dim foreColor As Color
Dim align As Alignment
Dim rightToLeft As Boolean
Dim direction As Orientation
Dim fillColor As Color
Dim anchorPosition As TextAnchorPosition
Dim shadow As Boolean
Dim halo As Boolean
 
Dim instance As CopyrightText(text, font, foreColor, align, rightToLeft, direction, fillColor, anchorPosition, shadow, halo)
C# 
public CopyrightText( 
   string text,
   Font font,
   Color foreColor,
   Alignment align,
   bool rightToLeft,
   Orientation direction,
   Color fillColor,
   TextAnchorPosition anchorPosition,
   bool shadow,
   bool halo
)

Parameters

text
The text to display for the copyright notice.
font
The font for the text.
foreColor
The color of the text
align
The alignment of the text.
rightToLeft
Read order of the text.
direction
Text direction to draw text
fillColor
Fill color of text area.
anchorPosition
The starting anchor point position of the text relative to the Image
shadow
Gets or sets a shadow effect on the text
halo
Gets or sets a Halo effect on the text

See Also

© 2010 All Rights Reserved.