Visual Basic (Declaration) | |
---|---|
Public Property Style As ShapeType |
C# | |
---|---|
public ShapeType Style {get; set;} |
Property Value
A ShapeType enumeration value that determines the shape to be printed.C# | Copy Code |
---|---|
private void detail_Format(object sender, System.EventArgs eArgs) { this.shape1.Style = ShapeType.Ellipse; } |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.Shape1.Style = ShapeType.Ellipse End Sub |