ActiveReports 9
InchToCm Method
Example 

Inches value to be converted to centimeters .
Converts value from inches to centimeters.
Syntax
'Declaration
 
Public Shared Function InchToCm( _
   ByVal value As System.Single _
) As System.Single
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
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.Label1.Left = SectionReport1.InchToCm(2);
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Label1.Left = SectionReport1.InchToCm(2)
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SectionReport Class
SectionReport Members
CmToInch Method

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum