예제 #1
0
 /// <summary>
 /// Sets the layout mode for a page view according to the specified value.
 /// </summary>
 public virtual void SetLayoutMode(PdfPageLayout layoutMode)
 {
     if (this.axAcroPDF7 != null)
     {
         this.axAcroPDF7.setLayoutMode(layoutMode.ToString());
     }
     else
     {
         this.axPdf6.setLayoutMode(layoutMode.ToString());
     }
 }
예제 #2
0
 /// <summary>
 /// Sets the layout mode for a page view according to the specified value.
 /// </summary>
 public virtual void SetLayoutMode(PdfPageLayout layoutMode)
 {
   this.viewer.SetLayoutMode(layoutMode);
 }
    /// <summary>
    /// Sets the layout mode for a page view according to the specified value.
    /// </summary>
    public virtual void SetLayoutMode(PdfPageLayout layoutMode)
    {
#if Acro7
        this.axAcroPDF7.setLayoutMode(layoutMode.ToString());
#else
      if (this.axAcroPDF7 != null)
        this.axAcroPDF7.setLayoutMode(layoutMode.ToString());
      else
        this.axPdf6.setLayoutMode(layoutMode.ToString());
#endif
    }
예제 #4
0
 /// <summary>
 /// Sets the layout mode for a page view according to the specified value.
 /// </summary>
 public virtual void SetLayoutMode(PdfPageLayout layoutMode)
 {
   this.axAcroPDF.setLayoutMode(layoutMode.ToString());
 }
예제 #5
0
 /// <summary>
 /// Sets the layout mode for a page view according to the specified value.
 /// </summary>
 public virtual void SetLayoutMode(PdfPageLayout layoutMode)
 {
     this.viewer.SetLayoutMode(layoutMode);
 }
예제 #6
0
    /// <summary>
    /// Sets the layout mode for a page view according to the specified value.
    /// </summary>
    public virtual void SetLayoutMode(PdfPageLayout layoutMode)
    {
      if (this.ocx == null)
        throw new AxHost.InvalidActiveXStateException("setLayoutMode", AxHost.ActiveXInvokeKind.MethodInvoke);

      this.ocx.setLayoutMode(layoutMode.ToString());
    }
 /// <summary>
 /// Sets the layout mode for a page view according to the specified value.
 /// </summary>
 public virtual void SetLayoutMode(PdfPageLayout layoutMode)
 {
     this.axAcroPDF.setLayoutMode(layoutMode.ToString());
 }