예제 #1
0
    public Stream method_7(int A_0, Document A_1, ImageFormat A_2)
    {
        MemoryStream stream = new MemoryStream();

        using (Class195 class2 = new Class195())
        {
            class2.method_20(this.method_0());
            class2.bool_2 = this.bool_0;
            class2.method_43(A_1);
            if (A_2 == ImageFormat.Emf)
            {
                return(class2.method_61(A_0, 1, ImageType.Metafile, null));
            }
            Image[] imageArray = class2.method_49(A_0, 1, ImageType.Metafile, null, true);
            if (((imageArray != null) && (imageArray.Length > A_0)) && (imageArray[A_0] != null))
            {
                imageArray[A_0].Save(stream, A_2);
            }
            else
            {
                return(null);
            }
        }
        return(stream);
    }
예제 #2
0
 public Image[] method_6(int A_0, int A_1, Document A_2, ImageType A_3)
 {
     using (Class195 class2 = new Class195())
     {
         class2.method_20(this.method_0());
         class2.method_30(A_3);
         class2.bool_2 = this.bool_0;
         class2.method_43(A_2);
         return(class2.method_49(A_0, A_1, A_3, null, true));
     }
 }
예제 #3
0
 public Image[] method_5(Document A_0, ImageType A_1, MemoryStream A_2)
 {
     using (Class195 class2 = new Class195())
     {
         class2.method_20(this.method_0());
         class2.method_30(A_1);
         class2.bool_2 = this.bool_0;
         class2.method_43(A_0);
         return(class2.method_49(0, -1, A_1, A_2, true));
     }
 }