←Select platform

GetGuideFrame Method

Summary

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

Syntax

C#
VB
Java
Objective-C
C++
public static 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) 
public:  
   static LeadRect^ GetGuideFrame( 
      Int32 clientWidth, 
      Int32 clientHeight, 
      Int32 previewWidth, 
      Int32 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CreditCards Assembly