Viscomsoft .NET PDF Viewer SDK

Canvas.Location property

 

get/set the location of canvas.

 Visual Basic

Public Property Location As Point

 
 C#

public Point Location { get; set; }

 


Namespace: Viscomsoft.PDFViewer


Example

   

[C# Syntax] 
using Viscomsoft.PDFViewer;

public partial class Form1 : Form
{

  public PDFView _pdfViewer;
  _pdfViewer = new PDFView();
  _pdfViewer.Canvas.Parent = this;
  _pdfViewer.Canvas.Location = new Point(0, 24);

 }


 

   

[Visual Basic Syntax] 
Imports Viscomsoft.PDFViewer

Public Class Form1
 

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

  _pdfviewer.Canvas.Parent = Me

  _pdfviewer.Canvas.Location = New Point(0, 24)

 End Sub


End Class