ActiveReports Developer 7
InchToCm Method
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : InchToCm Method

value
Inches value to be converted to centimeters .

Glossary Item Box

Converts value from inches to centimeters.

Syntax

Visual Basic (Declaration) 
Public Shared Function InchToCm( _
   ByVal value As System.Single _
) As System.Single
C# 
public static System.float InchToCm( 
   System.float value
)

Parameters

value
Inches value to be converted to centimeters .

Return Value

Single value representing the inches value in centimeters.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.Label1.Left = SectionReport1.InchToCm(2);
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Label1.Left = SectionReport1.InchToCm(2)
End Sub

See Also