See Also

Picture Class  | Picture Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

SizeMode Property

Gets or sets a value that determines how the image is sized to fit the Picture control area.

[Visual Basic]
Public Property SizeMode As SizeModes
[C#]
public SizeModes SizeMode {get; set;}

Return Type

A SizeModes enumeration value. The default value is SizeModes.Clip

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.Picture1.SizeMode = SizeModes.Clip; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.Picture1.SizeMode = SizeModes.Clip
End Sub

See Also

Picture Class  | Picture Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.