See Also

ActiveReport Class  | ActiveReport Members  | CmToInch

Language

Visual Basic

C#

Show All

value
Inches value to be converted to centimeters.
See Also Languages ActiveReports Send feedback to Data Dynamics

InchToCm Method

Converts value from inches to centimeters.

[Visual Basic]
Public Shared Function InchToCm( _    ByVal value As Single _ ) As Single
[C#]
public static float InchToCm(    float value );

Parameters

value
Inches value to be converted to centimeters.

Return Type

Single value representing the inches value in centimeters.

Example

[C#] 

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

    this.Label1.Left = ActiveReport1.InchToCm(2); 
    this.Label1.Left = ActiveReport1.InchToCm(2); 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Me.Label1.Left = ActiveReport1.InchToCm(2)
    Me.Label1.Left = ActiveReport1.InchToCm(2)
End Sub

See Also

ActiveReport Class  | ActiveReport Members  | CmToInch

 

 


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