Search Results for

    Show / Hide Table of Contents

    Class TempFileProperties

    An properties class that can be used as a properties holder for tempoary files created in order to perform a preview.

    Inheritance
    System.Object
    TempFileProperties
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.FileTypeSupport.Framework.PreviewControls
    Assembly: Sdl.FileTypeSupport.Framework.PreviewControls.dll
    Syntax
    public class TempFileProperties

    Constructors

    TempFileProperties()

    Declaration
    public TempFileProperties()

    Properties

    ExtensionMaps

    A list of filter extensions that need to be mapped to other extensions before previewing. For example mappping .csv to .csv.txt files so they can be previewed in an IE browser control.

    Declaration
    public string[] ExtensionMaps { get; set; }
    Property Value
    Type Description
    System.String[]

    Locked

    Set if preview file should be locked to prevent deleting/writing by another process.

    Declaration
    public bool Locked { get; set; }
    Property Value
    Type Description
    System.Boolean

    ReadOnly

    Set if preview file ReadOnly attribute should be set

    Declaration
    public bool ReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    SinglePreview

    Set if only one preview is allowed for each document (FileId).

    Declaration
    public bool SinglePreview { get; set; }
    Property Value
    Type Description
    System.Boolean

    On this page

    • Constructors
      • TempFileProperties()
    • Properties
      • ExtensionMaps
      • Locked
      • ReadOnly
      • SinglePreview
    Back to top Generated by DocFX