Class ResourceSavingArgs

Class ResourceSavingArgs

Tên không gian: Aspose.Note.Saving.Html Tổng hợp: Aspose.Note.dll (25.4.0)

Cung cấp dữ liệu cho ResourceSaving event.

public class ResourceSavingArgs
   {
      private object _resource;
      private SaveFormat _format;
      private string _fileName;
      private bool _overwrite;
      private bool _embeddedResourcesEnabled;
      public object Resource
      {
         get { return _resource; }
         set { _resource = value; }
      }
      public SaveFormat Format
      {
         get { return _format; }
         set { _format = value; }
      }
      public string FileName
      {
         get { return _fileName; }
         set { _fileName = value; }
      }
      public bool Overwrite
      {
         get { return _overwrite; }
         set { _overwrite = value; }
      }
      public bool EmbeddedResourcesEnabled
      {
         get { return _embeddedResourcesEnabled; }
         set { _embeddedResourcesEnabled = value; }
      }
   }

Inheritance

object ResourceSavingArgs

Derived

CssSavingArgs , FontSavingArgs , ImageSavingArgs , PageSavingArgs

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Document

Nhận tài liệu tiết kiệm.

public Document Document
   {
      get;
   }

Giá trị bất động sản

Document

FileName

Nhận tên file.

public string FileName
   {
      get;
   }

Giá trị bất động sản

string

KeepStreamOpen

Nhận hoặc đặt một giá trị cho biết liệu lưu lượng truy cập mở hay không.

public bool KeepStreamOpen
   {
      get;
      set;
   }

Giá trị bất động sản

bool

Stream

Nhận hoặc đặt dòng được sử dụng để lưu trữ tài nguyên.

public Stream Stream
   {
      get
      {
         return this.Stream;
      }
      set
      {
         this.Stream = value;
      }
   }

Giá trị bất động sản

Stream

Uri

Nhận hoặc đặt ur để truy cập vào tài nguyên lưu trữ.

public string Uri
   {
      get;
      set;
   }

Giá trị bất động sản

string

 Tiếng Việt