←Select platform

GetGuideFrame Method

Summary

Gets the guide frame based on the client and preview height and width.

Syntax

C#
VB
Java
Objective-C
public static Leadtools.LeadRect GetGuideFrame(  
   int clientWidth, 
   int clientHeight, 
   int previewWidth, 
   int previewHeight 
) 
Public Shared Function GetGuideFrame( _ 
   ByVal clientWidth As Integer, _ 
   ByVal clientHeight As Integer, _ 
   ByVal previewWidth As Integer, _ 
   ByVal previewHeight As Integer _ 
) As Leadtools.LeadRect 
+ (LeadRect)guideFrameWithClientSize:(LeadSize)clientSize previewSize:(LeadSize)previewSize
public static LeadRect getGuideFrame(long clientWidth, long clientHeight, long previewWidth, long previewHeight)

Parameters

clientWidth
The width of the client, in pixels.

clientHeight
The height of the client, in pixels.

previewWidth
The width of the preview, in pixels.

previewHeight
The height of the preview, in pixels.

Return Value

A Leadtools.LeadRect object with the guide frame information.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize