SyncTranslator SyncTranslator SyncTranslator Class

Definition

Provides immediate translation jobs.

public ref class SyncTranslator : Microsoft::Office::ConversionServices::Conversions::SyncConverter
[Microsoft.SharePoint.Client.ClientCallableType(SampleUrl="{apiroot}/SyncTranslator({targetLanguage})", ServerTypeId="5286F36C-929C-49D8-BF42-39EFFC672AAF")]
public class SyncTranslator : Microsoft.Office.ConversionServices.Conversions.SyncConverter
Public Class SyncTranslator
Inherits SyncConverter
Inheritance
SyncTranslatorSyncTranslatorSyncTranslator
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute

Constructors

SyncTranslator(SPServiceContext, CultureInfo) SyncTranslator(SPServiceContext, CultureInfo) SyncTranslator(SPServiceContext, CultureInfo)

Initializes a new instance of a SyncTranslator object with a reference to the service context and the specified language.

Properties

OutputSaveBehavior OutputSaveBehavior OutputSaveBehavior

Gets or sets the save behavior that should be applied to files that already exist.

TargetLanguage TargetLanguage TargetLanguage

Gets the value of a CultureInfo object that represents the language into which documents are translated.

Methods

Translate(String, String) Translate(String, String) Translate(String, String)

Translates the specified input file to the specified output file.

Translate(Byte[], Byte[], String) Translate(Byte[], Byte[], String) Translate(Byte[], Byte[], String)

Translates the specified input stream to the specified output stream as unsigned integers with the specified file extension.

Translate(Stream, Stream, String) Translate(Stream, Stream, String) Translate(Stream, Stream, String)

Translates the specified input stream to the specified output stream with the specified file extension.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to