Método Aspose::Pdf::Facades::PdfContentEditor::ReplaceText

PdfContentEditor::ReplaceText(const System::String&, const System::String&) method

Reemplaza texto en el archivo PDF.

bool Aspose::Pdf::Facades::PdfContentEditor::ReplaceText(const System::String &srcString, const System::String &destString)
ParámetroTipoDescripción
srcStringconst System::String&La cadena a ser reemplazada.
destStringconst System::String&Cadena de reemplazo.

ReturnValue

Devuelve true si se realizó el reemplazo.

Ver también

PdfContentEditor::ReplaceText(const System::String&, const System::String&, const System::SharedPtr<Text::TextState>&) method

Reemplaza texto en el archivo PDF usando el objeto TextState especificado.

bool Aspose::Pdf::Facades::PdfContentEditor::ReplaceText(const System::String &srcString, const System::String &destString, const System::SharedPtr<Text::TextState> &textState)
ParámetroTipoDescripción
srcStringconst System::String&Cadena a ser reemplazada
destStringconst System::String&Cadena de reemplazo
textStateconst System::SharedPtr<Text::TextState>&Text estado (TextColor, Font etc)

ReturnValue

Devuelve true si se realizó el reemplazo.

Ver también

PdfContentEditor::ReplaceText(const System::String&, const System::String&, int32_t) method

Reemplaza texto en el archivo PDF y establece el tamaño de fuente.

bool Aspose::Pdf::Facades::PdfContentEditor::ReplaceText(const System::String &srcString, const System::String &destString, int32_t fontSize)
ParámetroTipoDescripción
srcStringconst System::String&Cadena a ser reemplazada.
destStringconst System::String&Cadena de reemplazo.
fontSizeint32_tTamaño de fuente.

ReturnValue

Devuelve true si se realizó el reemplazo.

Ver también

PdfContentEditor::ReplaceText(const System::String&, int32_t, const System::String&) method

Reemplaza texto en el archivo PDF en la página especificada.

bool Aspose::Pdf::Facades::PdfContentEditor::ReplaceText(const System::String &srcString, int32_t thePage, const System::String &destString)
ParámetroTipoDescripción
srcStringconst System::String&La cadena a ser reemplazada.
thePageint32_tPage número (0 para todas las páginas)
destStringconst System::String&Cadena de reemplazo.

ReturnValue

Devuelve true si se realizó el reemplazo.

Ver también

PdfContentEditor::ReplaceText(const System::String&, int32_t, const System::String&, const System::SharedPtr<Text::TextState>&) method

Reemplaza texto en el archivo PDF en la página especificada. Se puede especificar el objeto TextState (familia de fuentes, color) para el texto reemplazado.

bool Aspose::Pdf::Facades::PdfContentEditor::ReplaceText(const System::String &srcString, int32_t thePage, const System::String &destString, const System::SharedPtr<Text::TextState> &textState)
ParámetroTipoDescripción
srcStringconst System::String&La cadena a ser reemplazada.
thePageint32_tPage número (0 significa “todas las páginas”).
destStringconst System::String&La cadena reemplazada.
textStateconst System::SharedPtr<Text::TextState>&Text estado (TextColor, Font etc).

ReturnValue

Devuelve true si se realizó el reemplazo.

Ver también