Cách chuyển đổi HTML sang PDF trong C# .NET. Hướng dẫn từng bước của chúng tôi để chuyển đổi chương trình HTML và các trang web thành tài liệu PDF chất lượng cao thông qua REST API....sang PDF, hãy tạo mã thông báo JWT truy cập của bạn, dựa trên thông...{ACCESSTOKEN} bằng mã thông báo JWT mà bạn đã tạo và index.html bằng...
This REST API allows merging two or more documents into a single resultant document. For the simplest scenario of combining several documents together it’s only needed to provide storage path for each file. For protected documents, it is also required to provide a password. The table below contains the full list of properties that can be specified for each joined document.
Name Description Comment FilePath The file path in the storage Required property StorageName Storage name It could be omitted for default storage....\ -H "Authorization: Bearer $JWT_TOKEN " \ -d '{ "JoinItems":..."Authorization: Bearer $env:JWT_TOKEN" ` -d "{ 'JoinItems': [...
This REST API allows add attachments into pdf documents. Attachments should be uploaded into cloud storage before importing.
The table below contains the full list of properties that can be specified.
Name Description Comment FilePath The file path in the storage Required property StorageName Storage name Could be omitted for default storage VersionId File version Id Useful for storages that support file versioning Password The password to open file Should be specified only for password-protected documents Attachments Collection of attachments files paths OutputPath Path to resultant document Required Resource URI HTTP POST ~/import Swagger UI lets you call this REST API directly from the browser....\ -H "Authorization: Bearer $JWT_TOKEN " \ -d '{ "FileInfo": {..."Authorization: Bearer $env:JWT_TOKEN" ` -d "{ 'FileInfo': {...
This REST API allows changing page rotation angle by setting it to 90,180 or 270 degrees for specific or all document pages. The result is a new document that has rotation changed for specified pages. There are several ways to specify desired page numbers:
Provide exact page numbers via Pages collection; Specify pages range start/end page numbers. There is also an ability to get only even/odd pages from the specified page range by setting RangeMode property....\ -H "Authorization: Bearer $JWT_TOKEN " \ -d '{ "FileInfo": {..."Authorization: Bearer $env:JWT_TOKEN" ` -d "{ 'FileInfo': {...
This example demonstrates how to convert cad document into pdf document with load options.
There are steps that usage of GroupDocs.Conversion Cloud consists of:
Upload input document into cloud storage Convert document Download converted document from storage Steps 1 and 3 are storage operations, please refer to this GroupDocs.Conversion Cloud documentation for usage details.
Step 3 is not needed if the “OutputPath” option is not provided: the convert API method will return the converted document in the response body....\ -H "Authorization: Bearer $JWT_TOKEN " \ -d '{ "FilePath": "Cad/Sample..."Authorization: Bearer $env:JWT_TOKEN" ` -d "{ 'FilePath': 'Cad/Sample...
GroupDocs.Viewer Cloud provides the feature of getting text coordinates. This feature is useful if you want to add selectable text over the image or implement a text search in image-based rendering.
The ExtractText property of ImageOptions class enables you to get the text contained in a source document with coordinates.
Following code sample shows how to retrieve and print out text (lines / words / characters) of each document page with coordinates....\ -H "Authorization: Bearer $JWT_TOKEN " \ -d '{ "FileInfo": {..."Authorization: Bearer $env:JWT_TOKEN" ` -d "{ 'FileInfo': {...
GroupDocs.Viewer Cloud provides additional information such as list of folders when calling Info method. To retrieve view information for Archive File call Info method and cast output result to ArchiveViewInfo type.
Following example demonstrates how to print out archive contents.
API Usage There are steps that usage of GroupDocs.Viewer Cloud consists of:
Upload input document into cloud storage Render document or get document info Download rendered document from storage Steps 1 and 3 are storage operations, please refer to this File API documentation for usage details....\ -H "Authorization: Bearer $JWT_TOKEN " \ -d '{ "FileInfo": {..."Authorization: Bearer $env:JWT_TOKEN" ` -d "{ 'FileInfo': {...
Забудьте OpenAI или ChatGPT. Легко переписывайте, перефразируйте и парафразируйте документы онлайн с помощью .NET REST API. Лучше, чем Gemini, Microsoft Copilot и Claude....Сгенерировать токен доступа JWT # curl -v "https://api.groupdocs...