VintaSoft Imaging .NET SDK 10.1 for Web
Vintasoft.Imaging.Web.Api2Controllers Namespace / VintasoftImageConverterApi2Controller Class
Members



In This Topic
    VintasoftImageConverterApi2Controller Class
    In This Topic
    A Web API 2 controller that handles HTTP requests from clients and allows to convert an image file or PDF document.
    Object Model
    VintasoftImageConverterApi2Controller Class
    Syntax
    'Declaration
     
    Public Class VintasoftImageConverterApi2Controller 
       Inherits System.Web.Http.ApiController
    public class VintasoftImageConverterApi2Controller : System.Web.Http.ApiController 
    public __gc class VintasoftImageConverterApi2Controller : public System.Web.Http.ApiController 
    public ref class VintasoftImageConverterApi2Controller : public System.Web.Http.ApiController 
    Remarks
    This Web API 2 controller can be used in ASP.NET MVC 5.

    The Web API 2 controller can cache data on server side. Cache parameters can be changed in the Web site's application settings (web.config file):
    • The "VintasoftWebImaging_UploadDirectoryName" parameter defines name of directory where uploaded files must be stored. By default parameter has value "UploadedImageFiles" and uploaded files are stored in "/UploadedImageFiles" directory.
    • The "VintasoftWebImaging_CacheDirectoryName" parameter defines name of directory where cached data must be stored. By default parameter has value "VintasoftCache" and cached data are stored in "/VintasoftCache" directory.
    • The "VintasoftWebImaging_ConvertedFilesDirectoryName" parameter defines name of directory where converted image files must be stored. By default parameter has value "ConvertedFiles" and converted files are stored in "/VintasoftCache/ConvertedFiles" directory.
    • The "VintasoftWebImaging_ResourcesDirectoryName" parameter defines name of directory where global resources must be stored. By default parameter has value "Resources" and global resources are stored in "/Resources" directory.
    Inheritance Hierarchy

    System.Object
       System.Web.Http.ApiController
          Vintasoft.Imaging.Web.Api2Controllers.VintasoftImageConverterApi2Controller

    Requirements

    Target Platforms: .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also