Use the Drawing Tools menu to customize the image. The camera shape can include other shapes. Then from the Insert menu, select the Camera Shape icon to create a camera shape. You can also use the designer to create a camera shape. Ls.BackColor = į(ls, 10, 2)Ĭamera.ShadowColor = Ĭamera.ShadowDirection = .ShadowDirection.RightĬamera.ShapeOutlineStyle = .DotĬamera.ShapeOutlineColor = Ls.BackColor = į(ls, 10, 2) Ĭamera.ShadowColor = Ĭamera.ShadowDirection = .ShadowDirection.Right Ĭamera.ShapeOutlineStyle = .Dot Ĭamera.ShapeOutlineColor = C# .LightningBoltShape ls = new .LightningBoltShape() This example uses a built-in shape in the camera shape. Public Overrides Sub OnPaintBackground(ByVal g As, ByVal rectInput As )ĭim m圜olor As Color = Color.FromArgb(128, 120, 20, 100)ĭim myBrush As = New (.Trellis,ĬType(Me.Shape, ))ĭim gpath As = New į(pso, 10, 2)į(10, 1).Text = "Shape"ĭim camera As New .SpreadCameraShape()Ĭamera.Location = New (10, 40) gpath = new () į(pso, 10, 2) į = "Shape" į.SpreadCameraShape camera = new .SpreadCameraShape() Ĭamera.Location = new (10, 40) Public override void OnPaintBackground( g, rectInput) Camera Shape C# public class myShape : .CustomShape The following example creates a custom shape and then uses the custom shape in a camera shape. For more information about built-in shapes, refer to. ![]() For a complete API list, refer to the SpreadCameraShape class. In general, properties that apply to the interior of the shape, do not apply to the camera shape. Gets or sets the shape outline thickness for the object. Gets or sets the shape outline style for the object. Gets or sets the shape outline color for the object. Gets or sets the amount of vertical offset of the shadow of the object. Gets or sets the amount of horizontal offset of the shadow of the object. Gets or sets the amount of offset of the shadow. Gets or sets the direction of the shadow. ![]() Gets or sets the color of the shadow of the object. Gets or sets the y-coordinate of the object. Gets or sets the x-coordinate of the object. Gets or sets a string formula that indicates the captured region. The following properties are available in the SpreadCameraShape class. Specify the range of cells that will become the shape with the Formula property.Create a camera shape object using the SpreadCameraShape class.You can use the following steps to create a camera shape. The cell range can also contain other shapes. This allows you to create a snapshot of a range of cells and use that as a shape in the Spread control. Spread Windows Forms supports a unique feature known as a camera shape.
0 Comments
Leave a Reply. |