Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 362373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:14:17+00:00 2026-05-12T13:14:17+00:00

How could I create a dynamic forum signature generator using ASP.NET MVC. I currently

  • 0

How could I create a dynamic forum signature generator using ASP.NET MVC. I currently have a Stats fetcher that retrieves the user info to be used in the Forum Signature.

I’m trying to create a forum signature generator where a user can enter their user name and generate an image that they can put in their forum signature that will show everyone the users stats.

something like this http://www.xfire.com/miniprofile

I must have lost track of what I was doing I didn’t mean supply such little info, But I think you will have an idea of what im trying to do now..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:14:18+00:00Added an answer on May 12, 2026 at 1:14 pm

    i would use abcPdf component, the image would be a hi-res pdf document.

    you would then just need to pass text, font, color, x, y, w, h

    then your render the PDF out as a jpg stream

    a basic idea to get you going could be like this;

            private void addTextToPDF(string cmyk, int fs, string fontname, Double posx,
        Double posY, Double mWidth, Double mHeight, String text, Double hpos)
        {
            text = secure.reverseCleanup(text);
            int lettercount1 = 0;
            foreach (char c in text)
            { lettercount1 ++; }
    
            TheDoc.Color.String = cmyk;
            TheDoc.FontSize = fs;
            var theFont = fontname;
            TheDoc.Rect.Position(posx, posY);
            TheDoc.Rect.Width = mWidth;
            TheDoc.Rect.Height = mHeight;
            TheDoc.HPos = hpos;
            TheDoc.Font = TheDoc.EmbedFont(theFont, "Latin", false, true, true);
            int didwrite = TheDoc.AddText(text);
            string addedchars = TheDoc.GetInfo(didwrite, "Characters");
            var oldid = didwrite;
    
            if (addedchars != lettercount1.ToString())
                didwrite = 0;
    
            while (didwrite==0) // hits this if first run did not add text
            {
                TheDoc.Delete(oldid);
                fs = fs - 2;
                TheDoc.Color.String = cmyk;
                TheDoc.FontSize = fs;
                theFont = fontname;
                TheDoc.Rect.Position(posx, posY);
                TheDoc.Rect.Width = mWidth;
                TheDoc.Rect.Height = mHeight;
                TheDoc.HPos = hpos;
                TheDoc.Font = TheDoc.EmbedFont(theFont, "Latin", false, true, true);
                didwrite = TheDoc.AddText(secure.reverseCleanup(text));
                addedchars = TheDoc.GetInfo(didwrite, "Characters");
                oldid = didwrite;
    
                if (addedchars != lettercount1.ToString())
                    didwrite = 0;
            }
    
        }
    
        public byte[] convertPDFToImageStream()
        {
            byte[] jpgBytes = null;
            byte[] theData = null;
            theData = TheDoc.GetData();
            TheDoc.Clear();
            TheDoc.Read(theData);
            TheDoc.Rendering.DotsPerInch = getDPI();
            TheDoc.Rendering.ColorSpace = "RGB";
            jpgBytes = TheDoc.Rendering.GetData("preview.jpg");
    
            return jpgBytes;
         }
    

    that is the code to add text and also to render the PDF out as a stream JPG
    very very good component.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say that I have a Flash website where you could create an avatar
On other windows operating systems, I could create a Windows Service that listens to
How could i create a trigger that at any insertion on my table [users]
How could I create embedded objects in an MS office document using Python? I
I am trying to create dynamic predicate so that it can be used against
I'm trying to create a dynamic report in Excel. I have lots of sales
i want to create a dynamic generated form using javascript, everything works fine, until
I have recently written a dynamic querying tool using expression trees and as I
I have an asp mvc 2 app lication where I want to display a
With traditional OOP, I would (or could, rather) create a model / object that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.