Example #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());
     }
 }
    /// <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
    }
Example #3
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());
 }
 /// <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());
 }